package com.maidouya.utils;

public class AjaxResult {
    private Boolean success = true;
    private String message = "操作成功";
    // 返回状态
    private Integer statusCode;
    // 返回对象
    private Object resultObj;
    public static AjaxResult me(){
        return new AjaxResult();
    }



    public Object getResultObj() {
        return resultObj;
    }

    public AjaxResult setResultObj(Object resultObj) {
        this.resultObj = resultObj;
        return this;
    }



    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public AjaxResult setMessage(String message) {
        this.message = message;
        return this;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }
}